package com.sakura.oj.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 题解标签关联表
 *
 * @TableName solution_tag
 */
@TableName(value = "solution_tag")
@Data
public class SolutionTag {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 题解id
     */
    private Long solutionId;

    /**
     * 标签id
     */
    private Long tagId;
}